package day03;
//关系运算符的演示
public class OperDemo2 {
    public static void main(String[] args) {
        //2)关系运算符: >, <, >=, <=, ==, !=
        int a = 5, b = 10, c = 5;
        boolean b1 = a > b;
        System.out.println(b1);     //false
        System.out.println(c < b);  //true
        System.out.println(a >= c); //true
        System.out.println(a <= b); //true
        System.out.println(a == c); //true
        System.out.println(a!=c);   //false
        System.out.println(a % 2 == 0); //false
        System.out.println(a + c > b);  //false

        System.out.println(a++ > 5);    //false--------a自增1变为6
        System.out.println(a++ > 5);    //true--------a自增1变为7
        System.out.println(a);          //7
    }
}
